<script>
import { newsPost, newsSletct } from '@/api/api'
export default {
    data() {
        return {

        }
    },

    created() {
        this.getData()
    },

    methods: {
        params: {
            "data": {
            },
            "page": 10,
            "num": 20

        },
        getData(params) {
            newsPost(params).then(res => {
                console.log(res)
            })
        }
    }
}


</script>